package com.snimay.activiti.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

/**   
 * @Title      : Cfg_View.java
 * @Package    : com.snimay.activiti.config
 * @Description: TODO 
 * @author     : xxy
 * @date       : 2018年4月27日 上午11:57:09
 * @version    : V1.0   
 */
@Configuration
public class Cfg_View extends WebMvcConfigurerAdapter {

    @Override
    public void addViewControllers(ViewControllerRegistry registry) {
        registry.addViewController("/").setViewName("/index.html");
    }
}
